package com.itheima.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * @author 刘全
 * @date 2021/9/13
 */
@Repository
public interface LogDao {
    @Insert("insert into log values(#{date},#{message})")
    void save(@Param("date") Date date, @Param("message") String message);
}
